package cn.it.http.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Date;


@Controller
public class Test3 {
   /* @RequestMapping("test")
    public String test(){
        return "index";
    }*/
    @RequestMapping( "dateConverterTest")
    @ResponseBody
    public String dateConverterTest(Date date){

        return date.toString();
    }
}
